/*    */ package dm.jdbc.desc;
/*    */ 
/*    */ public class DmServerInfo {
/*  4 */   private String m_sName = null;
/*  5 */   private int m_sPort = 0;
/*  6 */   private boolean m_hasPort = false;
/*  7 */   private boolean isValid = true;
/*    */   
/*    */   public DmServerInfo(String name) {
/* 10 */     this.m_sName = name;
/* 11 */     this.m_hasPort = false;
/*    */   }
/*    */   
/*    */   public DmServerInfo(String name, int port) {
/* 15 */     this.m_sName = name;
/* 16 */     this.m_sPort = port;
/* 17 */     this.m_hasPort = true;
/*    */   }
/*    */   
/*    */   public String getSvrName() {
/* 21 */     return this.m_sName;
/*    */   }
/*    */   
/*    */   public boolean hasPort() {
/* 25 */     return this.m_hasPort;
/*    */   }
/*    */   
/*    */   public int getSvrPort() {
/* 29 */     return this.m_sPort;
/*    */   }
/*    */   
/*    */   public void setSvrPort(int port) {
/* 33 */     this.m_sPort = port;
/* 34 */     this.m_hasPort = true;
/*    */   }
/*    */   
/*    */   public void setValid(boolean isValid) {
/* 38 */     this.isValid = isValid;
/*    */   }
/*    */   
/*    */   public boolean isValid() {
/* 42 */     return this.isValid;
/*    */   }
/*    */ }


/* Location:              D:\Program Files\DBMS_20150813\jdbc\Dm7JdbcDriver17.jar!\dm\jdbc\desc\DmServerInfo.class
 * Java compiler version: 2 (46.0)
 * JD-Core Version:       0.7.1
 */